package com.biz.impl;

import com.dao.HotelHomeDao;
import com.entity.model.HotelHome;
import com.biz.HotelHomeBiz;
import com.core.AbstractBiz;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by jc on 2019/11/16.
 */
@Service
@Transactional
public class HotelHomeBizImpl extends AbstractBiz<HotelHome> implements HotelHomeBiz {
    @Resource
    private HotelHomeDao hotelHomeDao;

    public List<HotelHome> getIndexHomeList(String cityName){
        return  hotelHomeDao.getIndexHomeList(cityName);
    }
}
